package com.pikaqiu.warehouse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pikaqiu.warehouse.domain.dto.CategoryGroupDto;
import com.pikaqiu.warehouse.domain.dto.MaterialProductInfoDto;
import com.pikaqiu.warehouse.domain.dto.MaterialProductLinkInfoDto;
import com.pikaqiu.warehouse.domain.entity.Materials;
import com.pikaqiu.warehouse.domain.req.MaterialForm;

import java.util.List;

/**
* @author Administrator
* @description 针对表【materials】的数据库操作Service
* @createDate 2024-08-14 14:08:23
*/
public interface MaterialsService extends IService<Materials> {
    List<Materials> listAllMaterials(Integer companyId);
    List<CategoryGroupDto> listGroup();

    void saveMaterial(MaterialForm materialForm);

    MaterialProductInfoDto info(Integer id);

    MaterialProductLinkInfoDto linkInfo(Integer id);

    void saveLinkInfo(Integer id, String links);
}
